package com.zn.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zn.Vo.CardAndCareerVo;
import com.zn.bean.Card;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zn.utils.Result;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 码农小周
 * @since 2023-05-12
 */
public interface CardService extends IService<Card> {

    Result<Page<CardAndCareerVo>> pageInfo(Long page, Long pageSize, String name);

    Result<String> addCard(Card card);

    Result<String> editCard(Card card);

    Result<String> delCard(Long cardId);

    Result<String> uploadExcel(List<CardAndCareerVo> cardAndCareerVoList);
}
